package com.microservices.auth.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

/**
 * 用户组表
 *
 * @author daiqiaohong
 * @since 2025年1月13日
 */
@Getter
@Setter
@TableName("user_group")
@Schema(description = "用户组表")
public class UserGroupEntity extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableField("user_group_code")
    @Schema(description = "用户组Code")
    private String userGroupCode;

    @TableField("user_group_name")
    @Schema(description = "用户组名称")
    private String userGroupName;

    @TableField("description")
    @Schema(description = "用户组描述")
    private String description;

    @TableField("status")
    @Schema(description = "用户组状态（0正常 1停用）")
    private int status;

}
